Optimal. Leaf size=123 \[ \frac{2 e^{i a d} (e x)^{m+1} \left (c x^n\right )^{i b d} \text{Hypergeometric2F1}\left (1,-\frac{-b d n+i m+i}{2 b d n},-\frac{-3 b d n+i (m+1)}{2 b d n},e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )}{e (-b d n+i (m+1))} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0770617, antiderivative size = 118, normalized size of antiderivative = 0.96, number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {4510, 4506, 364} \[ \frac{2 e^{i a d} (e x)^{m+1} \left (c x^n\right )^{i b d} \, _2F_1\left (1,\frac{1}{2} \left (1-\frac{i (m+1)}{b d n}\right );-\frac{i (m+1)-3 b d n}{2 b d n};e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )}{e (-b d n+i (m+1))} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4510
Rule 4506
Rule 364
Rubi steps
\begin{align*} \int (e x)^m \csc \left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx &=\frac{\left ((e x)^{1+m} \left (c x^n\right )^{-\frac{1+m}{n}}\right ) \operatorname{Subst}\left (\int x^{-1+\frac{1+m}{n}} \csc (d (a+b \log (x))) \, dx,x,c x^n\right )}{e n}\\ &=-\frac{\left (2 i e^{i a d} (e x)^{1+m} \left (c x^n\right )^{-\frac{1+m}{n}}\right ) \operatorname{Subst}\left (\int \frac{x^{-1+i b d+\frac{1+m}{n}}}{1-e^{2 i a d} x^{2 i b d}} \, dx,x,c x^n\right )}{e n}\\ &=\frac{2 e^{i a d} (e x)^{1+m} \left (c x^n\right )^{i b d} \, _2F_1\left (1,\frac{1}{2} \left (1-\frac{i (1+m)}{b d n}\right );-\frac{i (1+m)-3 b d n}{2 b d n};e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )}{i (e+e m)-b d e n}\\ \end{align*}
Mathematica [A] time = 0.425706, size = 181, normalized size = 1.47 \[ \frac{2 (e x)^m x^{1+i b d n} \left (\sin \left (d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )\right )-i \cos \left (d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )\right )\right ) \text{Hypergeometric2F1}\left (1,\frac{b d n-i m-i}{2 b d n},-\frac{i (3 i b d n+m+1)}{2 b d n},x^{2 i b d n} \left (\cos \left (2 d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )\right )+i \sin \left (2 d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )\right )\right )\right )}{i b d n+m+1} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.94, size = 0, normalized size = 0. \begin{align*} \int \left ( ex \right ) ^{m}\csc \left ( d \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e x\right )^{m} \csc \left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (e x\right )^{m} \csc \left (b d \log \left (c x^{n}\right ) + a d\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e x\right )^{m} \csc{\left (a d + b d \log{\left (c x^{n} \right )} \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e x\right )^{m} \csc \left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]